Apple II
Sample Code Notes
_____________________________________________________________________________
                                                  Developer Technical Support

#1:    Shell

Version:    3.0                                                     June 1990

APW Components

Assembly:            C:                Pascal:        Rez:
Shell.Aii            Shell.c           Shell.p        Shell.rez
Shell.Macros         Shell.Link
Data.Build           Data.Build
Rez.Build            Rez.Build
Full.Build           Full.Build

MPW Components

Assembly:            C:                Pascal:
Shell.Aii            Shell.c           Shell.p
Shell.r              Shell.r           Shell.r
Shell.make           Shell.make        Shell.make

Shell performs a minimal set of tasks fundamental to virtually any Apple IIGS 
desktop application, including displaying an empty desktop with a menu bar and 
basic recommended menu options and supporting About... and Quit menu items.
_____________________________________________________________________________

Shell demonstrates standard data constructs in 65816 assembly language, C, and 
Pascal, how to start tools, how to code a main event loop, and how to close 
and quit an application.  Error handling is included, as well as support for 
desk accessories.

APW 65816 assembly language users need APW v.1.0, APW Tools & Interfaces 
v.1.1, and Apple IIGS System Software 5.0.2 or later.  APW C language users 
additionally need APW C v.1.0.  Three APW command files, Full.Build, Build, 
and Build.Macros allow you to perform complete or partial rebuilds of the load 
file Shell.  Shell.p, included on the APW disk, is the MPW IIGS Pascal source 
code.  It is included so Pascal programmers using native IIGS Pascal 
development environments can easily port this code to their development 
environment.

MPW IIGS users need MPW v.3.0, MPW IIGS Tools v.1.1, and either MPW IIGS 
Assembler v.1.0 or later, or MPW IIGS C v.1.0 or later, or MPW IIGS Pascal 
v.1.0 or later.  The name needed by the MPW Build menu's Build option can be 
found in the MakeFile.
